DX11 GET MESH VERTEXDATA VECTOR2

Retrieves a vector2 from the given offset from the given vertex id in the vertex data of the specified mesh.
A vector2 is just two adjacent floats, so you can also call DX11 GET MESH VERTEXDATA FLOAT twice and increase the offset by 4
(since a float uses 4 bytes) for the second time if you prefer that.
This function will trigger an error message if the provided vertex / offset is not valid in the vertex data of the specified mesh.
Use DX11 GET MESH VERTEXDATA VERTEX COUNT and DX11 GET MESH VERTEXDATA SEMANTIC OFFSET to ensure your values are valid.

  Syntax
DX11 GET MESH VERTEXDATA VECTOR2 mesh, vertex, offset, vector
  Parameters
mesh
Dword
The mesh from whiches vertex data the dword will be read.
vertex
Dword
The vertex to read the vector data from.
offset
Dword
The offset from the start of the vertex' data to read at. Use DX11 GET MESH VERTEXDATA SEMANTIC OFFSET to find offsets by semantics.
vector
Dword
A vector2 that will be filled with the data at the given offset of the specified vertex.

  Returns

This function does not return a value.

  See also

MESH Functions Menu
DX11 Function Categories